home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / ip / dialupip / dialupip2.0 / doc / operations < prev    next >
Encoding:
Text File  |  1991-01-14  |  4.8 KB  |  115 lines

  1.  
  2. Internal CSNET (and MMDF) notes.
  3.  
  4.   Copyright (c) 1991 Bolt Beranek and Newman, Inc.
  5.   All rights reserved.
  6.  
  7.   Redistribution and use in source and binary forms are permitted
  8.   provided that: (1) source distributions retain this entire copyright
  9.   notice and comment, and (2) distributions including binaries display
  10.   the following acknowledgement:  ``This product includes software
  11.   developed by Bolt Beranek and Newman, Inc. and CREN/CSNET'' in the
  12.   documentation or other materials provided with the distribution and in
  13.   all advertising materials mentioning features or use of this software.
  14.   Neither the name of Bolt Beranek and Newman nor CREN/CSNET may be used
  15.   to endorse or promote products derived from this software without
  16.   specific prior written permission.
  17.  
  18.   THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  19.   WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  20.   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  21.  
  22. AT SYSTEM BOOT TIME
  23. -------------------
  24.     duattach /dev/dialup0
  25.     ifconfig dua0 192.31.242.100  192.31.242.99
  26. Possible errors:
  27.     + Are you root? Does the device /dev/dialup0 exist (built into the
  28.       kernel)?
  29.  
  30. DIALING OUT
  31. -----------
  32.     diald
  33. Should be run from /etc/rc.local.  Possible errors:
  34.     + Modem is stuck, can't get it to dial.  Use tip(1) and try
  35.       to get the modem in command mode (e.g., AT commands).
  36.     + Baud rate problems; check the speed on the modem and in
  37.       the config file.
  38.     + Does /etc/diald.conf exist, readable by diald, and have
  39.       the right information?
  40.     + Are the referenced script files in /usr/dialupip/config?
  41.     + Is there a login and password on the remote machien?
  42.     + Is diald running under root?
  43.     + Does /usr/dialupip/log exist, and are the call.log and dial.log
  44.       writable by diald?
  45.  
  46. DIALING IN
  47. ----------
  48.     dudisc_duXX
  49. Most errors are written to stderr (which will go out to the remote site)
  50. and dial.log.  In case of problems, try using tip to connect to the remote
  51. site and log in as the script file dictates, noticing the output from
  52. dudisc.  If everything works fine you should be disconnected shortly after
  53. the login sequence and "connected" message.  Is the program setuid root?
  54.  
  55.     dulogin
  56. Make sure the user is a member of the group "dialupip".  All errors
  57. are written to stdout or stderr, so to debug it you will have to call
  58. in and invoke the program via tip.
  59.  
  60.     dialmonitor
  61. Make sure the host is using the nameserver and that there are PTR entries
  62. for each IP address associated with a dialup interface.
  63.  
  64.  
  65. ADDING A NEW DIALUP IP SITE
  66. ---------------------------
  67.     1.  Decide which du interface to use for the site
  68.     2.  Decide which IP address to use for the site, and give relay2
  69.         the odd address within the 192.31.242 network.
  70.     3.  Add a PTR record for the site and its relay2 counterpart to
  71.         the named.dialup-rev.db database.
  72.     4.  Create an account in /etc/passwd.  Choose any username and
  73.         password, put them in the "dialupip" group and make their
  74.         home directory be /usr/dialupip.  The shell should be
  75.         /usr/dialupip/bin/dudisc_duXX where XX is the interface assigned
  76.         in step 1.
  77.  
  78.  
  79. ADDING A NEW SMTP/DIALUP IP SITE
  80. --------------------------------
  81.  
  82. The following procedure allows a remote site to start up an SMTP deliver
  83. on relay2 to themselves.  There are two methods for doing this.  One will
  84. be to just rlogin or rsh in from the remote host.  The other will be to
  85. deliver mail to a dummy user which will kick off the maildelivery.
  86.     1.  Make sure the site has a Dialup IP account and is able to
  87.         connect and do a "ping"
  88.     2.  Add a channel table for the site in
  89.         /mmdf/table/sitename_you_choose.  Map the host to the IP
  90.         address to be used to receive mail.  If this is not a
  91.         192.31.242. address, then you must verify routing.
  92.     3.  Add a new channel to mmdftailor.ACTUAL on relay2:
  93.         a.  No "user" or "trn"
  94.         b.  "pgm=smtp"
  95.         c.  Choose, and remember, an appropriate name
  96.         d.  Host should have a dot style name
  97.         e.  "tbl=sitename_you_choose"
  98.         f.  Queue is the same as the phonenet queue
  99.     4.  Add a new user for this site:
  100.         a.  Choose a name such as delisr, deltek, or delunlv and
  101.         put them in group "dialupip"
  102.         b.  Create a home directory in /usr/dialme/deliver, use a name
  103.         like tekdeliver or unlvdeliver.
  104.         c.  The login shell will be /usr/dialme/deliver/XXX/rundeliver,
  105.         where XXX is the directory chosen in step 4b.
  106.         d.  Copy the files from /usr/dialme/deliver/generic into the home
  107.         directory of the new user.
  108.         e.  Edit the .rhosts, .maildelivery, and rundeliver files:
  109.         +   .rhosts should contain the name of their host,
  110.             such as tektronix.tek.com.
  111.         +   .maildelivery  should kick off a deliver when mail is
  112.             received for the new user.
  113.         +   .rundeliver will fire up deliver on the new channel,
  114.             and mail the results to the appropriate person.
  115.